#!/usr/local/bin/ruby
# Copyright (C) 2003-2010 Wang Pengcheng <wpc0000@gmail.com>
# , released under the MIT license
# You may obtain a template of the MIT License at
# http://www.opensource.org/licenses/mit-license.php
$KCODE = 'utf8'

tasks = File.read('tasks.txt').split("\n")
tasks.each do |task|
  %x[./es2.rb "#{task}" 1500 >> ES2K5.txt]
end

